<?php
declare (strict_types = 1);

namespace app\admin\controller;

use think\facade\Db;
use think\facade\View;

class brand
{

    public function brand()
    {
        $list=Db::table('ecm_brand')->select();
        if($list->isEmpty()){
            var_dump($list->isEmpty());
        }else{
            View::assign('list',$list->toArray());
        }

        return View::fetch();
    }


}